package com.hsnn.medstgmini.base.std.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author 言科
 * @category	企业产品库实体类
 * @date 2015年8月17日
 */
@Entity
@Table(name = "std_proddruginfo")
public class StdProdDrugInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	private String prodId; // 产品ID
	private String qualityspecId; // 品规ID
	private String busName; // 商品名
	private Integer factor; // 转换系数，没有填1
	private String unit; // 包装单位
	private String prodCompId; // 生产企业ID
	private String materialId; // 材质ID
	private String approvalCode; // 批准文号
	private Date approvalDate; // 批准日期
	private Integer status; // 标准状态。1.有效；2.作废；3.合并
	private Date updDatetime; // 更新时间
	private String updUser; // 更新人
	private String historyDrugCode; // 历史药品编码
	private Integer mergeStatus; // 合并处理状态,0未处理1已处理
	private String drugCode; // 药品编码
	private Integer auditStatus;
	private String auditRemark;
	private Date auditDatetime;
	private String auditUser;

	@Id
	@Column(name = "prod_id", length = 36)
	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	@Column(name = "qualityspec_id", length = 36)
	public String getQualityspecId() {
		return qualityspecId;
	}

	public void setQualityspecId(String qualityspecId) {
		this.qualityspecId = qualityspecId;
	}

	@Column(name = "bus_name", length = 256)
	public String getBusName() {
		return busName;
	}

	public void setBusName(String busName) {
		this.busName = busName;
	}

	@Column(name = "factor", length = 11)
	public Integer getFactor() {
		return factor;
	}

	public void setFactor(Integer factor) {
		this.factor = factor;
	}

	@Column(name = "unit", length = 36)
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	@Column(name = "prod_comp_id", length = 36)
	public String getProdCompId() {
		return prodCompId;
	}

	public void setProdCompId(String prodCompId) {
		this.prodCompId = prodCompId;
	}

	@Column(name = "material_id", length = 36)
	public String getMaterialId() {
		return materialId;
	}

	public void setMaterialId(String materialId) {
		this.materialId = materialId;
	}

	@Column(name = "approval_code", length = 100)
	public String getApprovalCode() {
		return approvalCode;
	}

	public void setApprovalCode(String approvalCode) {
		this.approvalCode = approvalCode;
	}

	@Column(name = "approval_date")
	public Date getApprovalDate() {
		return approvalDate;
	}

	public void setApprovalDate(Date approvalDate) {
		this.approvalDate = approvalDate;
	}

	@Column(name = "status", length = 4)
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "upd_datetime")
	public Date getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(Date updDatetime) {
		this.updDatetime = updDatetime;
	}

	@Column(name = "upd_user", length = 36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	@Column(name = "history_drug_code", length = 100)
	public String getHistoryDrugCode() {
		return historyDrugCode;
	}

	public void setHistoryDrugCode(String historyDrugCode) {
		this.historyDrugCode = historyDrugCode;
	}

	@Column(name = "merge_status", length = 4)
	public Integer getMergeStatus() {
		return mergeStatus;
	}

	public void setMergeStatus(Integer mergeStatus) {
		this.mergeStatus = mergeStatus;
	}

	@Column(name = "drug_code", length = 100)
	public String getDrugCode() {
		return drugCode;
	}

	public void setDrugCode(String drugCode) {
		this.drugCode = drugCode;
	}

	@Column(name = "audit_status")
	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	@Column(name = "audit_remark")
	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	@Column(name = "audit_datetime")
	public Date getAuditDatetime() {
		return auditDatetime;
	}

	public void setAuditDatetime(Date auditDatetime) {
		this.auditDatetime = auditDatetime;
	}

	@Column(name = "audit_user")
	public String getAuditUser() {
		return auditUser;
	}

	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}

}
